package com.tutorialspoint;

public class logging {
    public void beforeAdvice(){
        System.out.println("Student profile is going to setup.");
    }

    public void afterAdvice(){
        System.out.println("Student has been setup.");
    }

    public void afterReturningAdvice(Object object){
        System.out.println("Returning " + object.toString());
    }

    public void afterThrowingAdvice(IllegalArgumentException ex){
        System.out.println("There is an exception " + ex.toString());
    }
}
